<#include "user_manager_header.ftl">

<div class="panel panel-default">
	<div class="panel-heading">
		<h3 class="panel-title">开放平台</h3>
	</div>
	<div class="panel-body">
		<ul class="nav nav-tabs">
			<li class="active"><a>管理加油员</a></li>
			<li><a
				href="oilequipment_update?oilsitecode=${(oileqmentlist.oilSiteCode)?if_exists}">增加加油枪</a></li>
		</ul>
		<div>
			<p></p>
		</div>

		<div class="panel panel-default">

			<!-- Table -->
			<table class="table table-striped">
				<thead>
					<tr>
						<th>加油枪编码</th>
						<th>加油站点编码</th>
						<th>加油站点名称</th>
						<th>油品</th>
						<th>排放国际</th>
						<th>设备备注</th>
						<th>设备二维码</th>
						<th>创建时间</th>
						<th>更新时间</th>
						<th>存在状态</th>
						<th>*</th>
					</tr>
				</thead>
				<tbody>
					<#if oilequipment_list?exists> <#list oilequipment_list as oileqmentlist>
					<tr>
						<td>${(oileqmentlist.oilEquipmentCode)?if_exists}</td>
						<td>${(oileqmentlist.oilSiteCode)?if_exists}</td>
						<td>${(oileqmentlist.oilSiteName)?if_exists}</td>
						<td>${(oileqmentlist.oilCharacter)?if_exists}</td>
						<td>${(oileqmentlist.discharge)?if_exists}</td>
						<td>${(oileqmentlist.equipmentMemo)?if_exists}</td>
						<td>${(oileqmentlist.qrUrl)?if_exists}</td>
						<td>${(oileqmentlist.createTime)?if_exists}</td>
						<td>${(oileqmentlist.updateTime)?if_exists}</td>
						<td>${(oileqmentlist.state)?c}</td>
						<td><a
							href="oilsequipment_update?oilequipmentcode=${(oileqmentlist.oilEquipmentCode)}">修改</a>
							<a href="oilsequipment_checkqr?qrurl=${(oileqmentlist.qrUrl)}">查看二维码地址</a>
						</td>
					</tr>
					</#list> <#else>
					<tr>
						<td colspan="5">暂无记录</td>
					</tr>
					</#if>
				</tbody>
			</table>
		</div>
		<div class="panel-footer"></div>
	</div>

	<blockquote>
		<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit.
			Integer posuere erat a ante.</p>
		<footer>Luther</footer>
	</blockquote>

	<#include "user_manager_footer.ftl">

	<script type="text/javascript">
		$().ready(
				function() {

					//
					dictitemdict("UserType", "${(user.userType)?if_exists}",
							$("#usertype"));

				});
	</script>